package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

/**
 * @author hu
 * @date 2025/3/9
 */
public interface StudentService {
    PageResult<Student> listAll(StudentQueryParam queryParam);

    void delById(List<Long> ids);

    void add(Student student);

    Student getById(Integer id);

    void updateById(Student student);

    void violation(Integer id, Integer score);
}
